import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx' //支持jsx和tsx
// https://vitejs.dev/config/
import path from "path";
export default defineConfig({
  plugins: [vue(), vueJsx()],
  base: '/',
  server: {
    host: '0.0.0.0' //设置当前配置同时监听网络和本地
  },
  resolve: {
    alias: {
      "@": path.resolve(__dirname, "src"),
    },
  },
})
